package com.tracesystem.controller.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

@Data
public class LoginUserForm {
    /**
     * 登录名
     */
    @ApiModelProperty("账号")
    private String username;
    /**
     * 登录密码
     */
    @NotNull
    @ApiModelProperty("密码")
    private String password;
}
